import { createRoot } from 'react-dom/client'
import './assets/tailwind.css'
import { RouterProvider } from 'react-router';
import router from './router'
import '@ant-design/v5-patch-for-react-19';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
// for date-picker i18n
import 'dayjs/locale/zh-cn';

createRoot(document.getElementById('root')!).render(
  <ConfigProvider locale={zhCN}>
    <RouterProvider router={router} />

  </ConfigProvider>
)
